<script src="jquery-3.2.1.js"></script>
<meta charset="UTF-8">
<script>
    $(start);



    function start(){
        $(document).click({name:"zhangsan"},
            docclick);

        for(var i=0;i<21000;i++){
            $(document).click();
        }
    }

    function docclick(){
        $("#d1").text(parseInt($("#d1").text())+1);
    }


</script>

<div id="d1">1</div>
